IModule.ReadSdoBuffer 方法

透过服务资料物件 (SDO) 读取位元组阵列。

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
IKsCommand<byte[]> ReadSdoBuffer(
       ushort index,
       byte subIndex,
       bool completeAccess,
       int length = 64
)
Function ReadSdoBuffer(
       index As UShort,
       subIndex As Byte,
       completeAccess As Boolean,
       length = 64 As Integer
) As IKsCommand(Of Byte())

参数

index

型别:ushort

欲在物件字典中读取的物件索引。

 

subIndex

型别:byte

欲在物件字典中读取的物件子索引。

 

completeAccess

型别:bool

true:读取所有子索引;false:读取单一子索引。

 

length

型别:int

预设值:64

从物件字典读取的物件资料长度。

回传值

型别:IKsCommand<byte[]>

回传方法的状态及一个位元组阵列。

参见

IModule 介面

IntervalZero.KINGSTAR.Base.Class 命名空间